body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-image: url(../images/背景图.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
  overflow-x: hidden;
  margin-top: 50px;
}

header {
  color: #7fe9e9;
  padding: 10px 0;
  font-size: 18px;
  position: relative;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  text-align: center;
  margin-top: 5px;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  display: inline;
  margin-right: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ffd700;
}

main {
  text-align: center;
  margin-top: 42px;
}

#hero {
  background-image: url(../images/星火编舟logo9.jpg);
  background-size: 100% 100%; /* 确保背景图像覆盖整个元素，可能会裁剪 */
  background-repeat: no-repeat; /* 防止背景图像重复 */
  background-position: center; /* 将背景图像居中显示 */
  color: #000000ac;
  padding: 100px 0;
  text-align: center;
  position: relative;
  margin-bottom: 50px;
}
/* 主页 文字 */

#hero h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

#hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

#featured-playlists {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 20px;
  margin-bottom: 50px;
}

#content-bottom-margin {
  height: 100px;
}

.playlist-card {
  background-color: #fff;
  border-radius: 8px;
  margin: 20px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  width: 250px;
  height: 420px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
/* h3背景框原样式 */

.playlist-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}
/* h3背景框鼠标样式 */

.playlist-card img {
  border-radius: 8px;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}
/* h3图片原样式 */

.playlist-card:hover img {
  transform: scale(1.1);
}
/* h3图片鼠标样式 */

.playlist-card h3 {
  margin-top: 15px;
  color: #333;
}
/* h3字体颜色 */

.playlist-card p {
  color: #666666;
}
/* p段落颜色 */

.playlist-card a {
  color: inherit;
  text-decoration: none;
}

footer {
  color: #7fe9e9;
  text-align: center;
  padding: 10px 0;
  position: relative;
  bottom: 0;
  width: 100%;
}

footer span {
  font-size: 12px;
}